Total Annihilation Core Contingency v3.1 Bug Fix patch
Dated: April 1, 2010
Version: 1.7 beta 6
LITE INSTALL VERSION! (this means you still need the old rev31.gp3)

This version NO longer requires TA Bugfix v1.6 FINAL be installed!
I've incorporated all the changes into 1 installer file.

There are INCLUDED BATCH files for installing this, but
DO NOT RUN THEM IN CONJUNCTION WITH TA BUGFIX V1.6 FINAL'S BATCH FILES!!!
-------------------------------------------------------------------------

I have REMOVED ][BF16_OldWeapons.ORG from v1.7 betas, as the used/unused weapons are in a state of flux.

Map changes:
-----------
CHANGED the Acid Foursome start locations so that the players aren't so bunched together. (particularly #5 and #6!)
CHANGED the Painted Desert start locations so that players 5-10 aren't all in a 'knife fight' over the center!
CHANGED the Rock Alley start locations so all Players #1-4 are near the edges!

Lava Alley still has unbelievably bad start locations!

AI fixes:
--------
Another bug fixed by this patch is making map OTA's use a better ai profile. Original pre-TA:CC maps were particularly bad about their choice of ai profiles that they used. This should make the ai's at least slightly more effective on those maps than originally.

Map OTA               Did use    Now uses
-------               -------    --------
Biggie Biggs          AirBattle  AirWind
Comet Catcher         Default    Comet Catcher
King of the Hill      Default    Default (2 or 3 players), LowMetal (4 or more players)
Moon Quartet          Default    Comet Catcher
Painted Desert        Default    Huge (1v1), Default (3 or 4 players), LowMetal (5 or more players)
Red River             Hover      UrbanWin
Red River North       Hover      UrbanWin
Yerrot Mountains      Default    Comet Catcher (2-4 players), Default (5 or 6 players), LowMetal (7 or more players)


King of the Hill, Luschie, Metal Heck, Painted Desert, Starfish Isle, The Cold Place, Yerrot Mountains -- ALL have multiple settings for different # of players!


Map OTA               Did use    Now uses
-------               -------    --------
Acid Foursome         Acid       Default
Acid Pools            Hover      Wind
Aqua Verdigris        Acid       Wind
Ashap Plateau         Default    Small
Assault on Suburbia   Hover      HoverWin
Biggie Biggs          AirBattle  AirWind
Brilliant Cut Lake    SeaBattle  Urban
Canal Crossing        Hover      HoverWin
Cavedog Links CC      Hover      HoverWin
Checker Ponds         Acid       Default
Cloudious Prime       Default    AirWind
Cluster Freak         AirBattle  AirWind
Crystal Cracked       SeaBattle  Hover
Crystal Isles         SeaBattle  UrbanWin
Crystal Maze          Default    Wind
Dark Side             Default    Small
East Indeez           SeaBattle  SeaWind
Eastside Westside     Urban      UrbanWin
Etorrep Glacier       Default    Wind
Evad River Confluence*AirBattle  Hover
Flooded Glaciers      SeaBattle  UrbanWin
Fox Holes             Default    SmallWin
Full Moon             Default    LowMetal
Gasbag Forests        Acid       AcidWind
Gasplant Plain        Default    Wind
Greenhaven            Default    Greenhaven  <- SPECIAL map ai!
Hundred Isles         Default    SeaBattle
Higher Ground        *AirBattle  Wind
Ice Scream            Hover      HoverWin
John's Pass           Hover      HoverWin
Kill the Middle      *AirBattle  Wind
Lake Shore            Default    UrbanWin
Lava Highground       Default    SmallWin
Lava Mania            Default    Wind
Long Lakes**          Default    UrbanWin
Luschaven             Hover      Urban
Luschinfloggen        Default    Wind   <-- NEEDS 4 MORE START LOCATIONS!
Luschious             Default    Wind
Metal Heck            Default    Metal
Metal Isles           Default    SeaMetal
Ooooweeee             AirBattle  AirWind
Over Crude Water     *AirBattle  Krogoth
PC Games' Evad River Delta Hover HoverWin
Pillopeens            SeaBattle  SeaWind
Pincushion            Default    Greenhaven  <- SPECIAL map ai!
Red Hot Lava          Default    LowMetal
Red Planet            Default    LowMetal
Red River             Hover      UrbanWin
Red River North       Hover      UrbanWin
Red Triangle          Default    HoverWin   <--- WHAT SHOULD I PUT HERE?!?!
Ring Atoll            Default    Hover      <--- DITTO!?!
Sail Away             SeaBattle  SeaWind
Seven Islands         Default    SeaMetal
Shore to Shore        Seabattle  Hover
Show Down             Default    Wind
Slated Fate           Default    LowMetal
Surface Meltdown      Acid       Default
Temblorian Mist      *AirBattle  Wind
The Barrier Reef      SeaBattle  SeaWind
The Cold Place        Default    Wind
The Desert Triad      AirBattle  Small
The Pass              Default    ThePass     <- SPECIAL map ai!
Tropical Paradise     Waterwrld  Urban      <--- NOT THE GREATEST CHOICE, but underwater metal+land isn't Waterwrld!
Trout Farm            Default    UrbanWin
Two Continents       *AirBattle  Hover



Map OTA Wind Chart:
------------------

In Map OTA files, there are 2 lines:
	minwindspeed=1500;
	maxwindspeed=2250;
These tell how effective Wind Generators are on those maps.
The numbers after the ='s corresponds to the following Energy/sec values:

~167	=	1 e/sec

Wind		Energy

0		0
500		3
1000		6
1500		9
2000		12
2500		15
3000		18
3500		21
4000		24
4500		27
5000		30

*energy roof*

5500		30
6000		30
etc.



Various unit/weapon changes:
---------------------------
BUG in ARMMMKR caused it to open when shot! (DOH!) <-- FIXED!

ALL lasers now have either a 16 AoE or 30 AoE if BLoD, also they have edgeeffectiveness=1; so they are less likely to pass harmlessly through targets.

Tolerances on many weapons have been reduced to reasonable values.

Footprint+yardmap+corpse+heap shrinkage (of 1 point left-right) on the Core Gantry (also reduced length top-bottom on Gantry) and BOTH sides Vehicle Plants. This lines up their graphics with their used footprints.

Core Immolator's metal cost has been reduced and its corpse metal value raised to put it closer to OTA's corpse metal value -- I would've kept the original's corpse metal value, but that'd mean making the turret only cost 165 metal! I put the Immolator's cost halfway between that and the current value. They still suck except against pure Flash/Peewee swarms.

Arm Hammer's walk animations are now slowed down to more closely match its groundspeed. Sadly, many other units have the same problem. As it is a tiny cosmetic graphics bug only, I may not manage to fix all of them.

File Changes in GAMEDATA dir (in REV31.GP3):
-------------------------------------------
Help.TDF is the help file viewed from inside the game. Some of the new commands added are now listed in the help menu.
Page 1's FIRST line should tell if TA Bugfix is installed or not and what version TA Bugfix is installed.

Previously, TA Bugfix installed message was on page #3 of the Help menu.

To-do list:
----------
Pelican now has mid-movement stops in its walk script <-- FIXED and tested!
Amphi tanks leave passable corpses in the water that LOOK like corpses <-- FIXED and tested!
More Core Pyro script and weapon changes probably needed... <-- looking a lot better now.
Core Storm, Crasher, and Can scripts no longer get 'jiggly' legs <-- FIXED and tested!
ARMMAV's gun deploy/shoot can get messed up, cause unknown -- condition is VERY rare <-- NOT FIXED YET!
Same thing happened ONCE with the new Core KROGOTH (CORKROG) script! <-- NOT FIXED YET! (probably game engine bug...)

Graphical glitches with:
-----------------------
Arm C-Vehs nanolathe opens/closes too quickly <-- NOT FIXED YET!
both sides c-ships nanolathe while nanolather closed <-- NOT FIXED YET!
solars/mexs told to turn on/off too rapidly can suffer a graphical glitch. <-- NOT FIXED YET, seems an engine issue!
NEED to do fibber-like trick with hit-by-weapons close/reopen scripts! <-- NOT YET DONE!!!
CORDOOM can't make up its mind when to close... (RestoreAfterDelay freaks out when called by all 3 weapons.)
ARMSILO corpse not 5x5 footprint <-- was fixed by v1.6 FINAL, just not documented!

Pop-up On/Off not working well to tell them to close in combat. Need something to disable aimprimary immediately after close! <-- done, but encounters game engine issues with them not forgetting previous target orders. Need to give them a hold fire/STOP command as well!

Arm Vulcan barrel rotation speeded up (but not actual rate-of-fire) so the animations can keep up with the firing actions at high vetran status. (like 1+k kills...)

Some c-units and factories build a tiny bit faster:
--------------------------------------------------
C-hovers now build a little faster:
I raised their workertime from 80 to 90 and increased their buildspeed from a c-kbot's speed to a c-veh's speed!

Decoy Commanders also build a little faster:
I raised their workertime from 30 to 60 and increased their buildspeed from a c-air's speed to a c-kbot's speed. They're almost useful now. :p

Adv c-vehs are no better than farks -- despite Adv C-Vehs having 200 and farks having 180 workertime due to this 'bug'!

I upped the hover plants and seaplane plants from 200 to 210 workertime as well. (notice even 30's...)
It is more modest than it seems, but I won't do it to other factories (other than krog gantry) due to it being 'tradition'.
Hovers and seaplanes take 2-5 times longer to build than regular/similar units.
However, it'll mean the freedom fighter can REALLY be pumped out of Arm's seaplane platform -- at 233% regular rate without assistance. (as opposed to 200% in OTA.)

Sound changes:
-------------
Bug in the SOUNDS.tdf file -- untdone.wav and untdone1.wav instead of unitdone.wav which actually exists...
...unitdone.wav was too 'noisey', so it was replaced with beep4.wav or beep5.wav.

Core Neutron weapon change:
--------------------------
areaofeffect=362;
to
areaofeffect=512;
to match all the other nuclear weapons.
Unlike ALL the other nuclear weapons (even the cheap EMP stunner missile), the Core Neutron can ONLY affect mobile units -- which it is VERY unlikely to catch in its original small area of effect if they're moving.

Nuke+Antinuke changes:
---------------------
Nuke silos now work for the ais due to a hidden weapon in the 3rd weapon slot that only the ai can fire.
Core Neutron also uses the same ai-only nuke as the Core Nuke silo -- this saves weapon slots because the ai is TOO HORRIBLE at choosing targets for special weapons like Neutron Missiles.

LOTS of work has been done on the nukes and antinukes to add a little randomness in their rate-of-fire if ordered to fire them repeatedly in a row. This was done to TRY to combat "Ghost Nukes" in multiplayer, where invisible nukes pass through all antinuke defenses and do damage to a well-protected base when they shouldn't. I do NOT know how effective it will be...

Orphaned mission units are reused as ai-only bombers!
----------------------------------------------------
ARMDEV1	->	ARMTHUND
ARMSCORP	->	ARMPNIX
CORBEAC	->	CORSHAD
CORSS		->	CORHURC
So ARMDEV1 is actually an ARM ai Thunder bomber!

These units are still used in missions: (and nearly unchanged!)
ARMBEAC
ARMGATE
ARMSS
CORBUILD
CORDEV1
CORGATE
CORSCORP
CORTRUCK

ARMBEAC, CORBUILD, CORDEV1 now do something...

Commander Explosion Changes:
---------------------------
I'm not going to change the d-gun so that it won't kill coms or most any unit with even 1 grazing hit. (Although I may see if I can get it to leave krog rubble sometimes. :)

Now I stand by my opinion that in 1 case, the atlas-borne com-bomb attack to force a draw, may well be facilitated primarily by a game bug/limitation. And that bug is LAG. Even if the AA can shoot down the Atlas at their max LOS range, it's generally too late on a small map as lag lets the atlas still get close enough to the enemy com on the ground to kill him.

Even if the AA is radar-targetting the Atlas before it gets into range, they still often fire too late to stop the atlas from getting close enough to the com on the ground to kill them both. This same tactic may even work on a LAN with little lag if the AA missiles take too long to get to the Atlas.

So my fix is to reduce damage commander explosions do to other commanders to about 3,800 -- I haven't worked out the final value yet -- so that it will take an atlas carrying a com to be much closer to an enemy com to kill it while STILL doing massive damage in a huge area. AND also 1 com d-gunning another will still be close enough to die from the other's explosion.

This won't remove the above-mentioned atlas lag problems, but will make it so an atlas com-bomb will need to be much closer to the enemy com to kill it.


This change, along with the 'random antinuke/nuke firing rates', may not be put into TA Bugfix v1.7 FINAL as REAL in-game testing is needed to determine their relative effectiveness. If they aren't very effective at eliminating communication problems and/or other game limitations, then I will probably remove them for simplicity's sake alone.


I tested the commander explosion change and it made possible for a commander to survive by d-gunning from max range and running away from an enemy commander especially if the elevation change was great enough. This was VERY undesireable, so I changed com explosions back to normal.


Fixed Defenses...don't work with GUARD button!:
----------------------------------------------
Yes, the Guard button on fixed defenses such as Arm Guardian/Core Punisher really does nothing.
So I removed the button from fixed defenses.
It's a game engine limitation/bug...not much I can do about it. :(